package com.ruoyi.sl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 情况汇报对象 sl_event
 *
 * @author admin
 * @date 2024-06-04
 */
public class SlEvent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long eventId;

    /** 事件时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "事件时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date eventTime;

    /** 事件类型 */
    @Excel(name = "事件类型")
    private String eventType;

    /** 事件级别 */
    @Excel(name = "事件级别")
    private String eventLevel;

    /** 标题 */
    @Excel(name = "标题")
    private String eventSubject;

    /** 内容 */
    @Excel(name = "内容")
    private String eventContent;

    /** 审核人昵称 */
    @Excel(name = "审核人昵称")
    private String eventNick;

    /** 审核人ID */
    @Excel(name = "审核人ID")
    private String eventUser;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date submitTime;

    /** 状态（0草稿，1提交未处理，2已处理） */
    @Excel(name = "状态", readConverterExp = "0=草稿，1提交未处理，2已处理")
    private String isDone;

    /** 办理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "办理时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date doneTime;

    public void setEventId(Long eventId)
    {
        this.eventId = eventId;
    }

    public Long getEventId()
    {
        return eventId;
    }
    public void setEventTime(Date eventTime)
    {
        this.eventTime = eventTime;
    }

    public Date getEventTime()
    {
        return eventTime;
    }
    public void setEventType(String eventType)
    {
        this.eventType = eventType;
    }

    public String getEventType()
    {
        return eventType;
    }
    public void setEventLevel(String eventLevel)
    {
        this.eventLevel = eventLevel;
    }

    public String getEventLevel()
    {
        return eventLevel;
    }
    public void setEventSubject(String eventSubject)
    {
        this.eventSubject = eventSubject;
    }

    public String getEventSubject()
    {
        return eventSubject;
    }
    public void setEventContent(String eventContent)
    {
        this.eventContent = eventContent;
    }

    public String getEventContent()
    {
        return eventContent;
    }
    public void setEventNick(String eventNick)
    {
        this.eventNick = eventNick;
    }

    public String getEventNick()
    {
        return eventNick;
    }
    public void setEventUser(String eventUser)
    {
        this.eventUser = eventUser;
    }

    public String getEventUser()
    {
        return eventUser;
    }
    public void setSubmitTime(Date submitTime)
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime()
    {
        return submitTime;
    }
    public void setIsDone(String isDone)
    {
        this.isDone = isDone;
    }

    public String getIsDone()
    {
        return isDone;
    }
    public void setDoneTime(Date doneTime)
    {
        this.doneTime = doneTime;
    }

    public Date getDoneTime()
    {
        return doneTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("eventId", getEventId())
                .append("eventTime", getEventTime())
                .append("eventType", getEventType())
                .append("eventLevel", getEventLevel())
                .append("eventSubject", getEventSubject())
                .append("eventContent", getEventContent())
                .append("eventNick", getEventNick())
                .append("eventUser", getEventUser())
                .append("submitTime", getSubmitTime())
                .append("isDone", getIsDone())
                .append("doneTime", getDoneTime())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
